#!/bin/bash

echo "xkcyy发布:3.开始发布..."
cd $(cd `dirname $0`; pwd )
cd ../../../dist

git init
git add -A
git commit -m 'deploy'

git push -f https://gitee.com/xkcyy/blog.git master:gh-pages

echo "xkcyy发布:3.发布成功..."